/*
 * @Author: Rays77
 * @Date: 2022-10-14 14:53:15
 * @LastEditors: Rays77
 * @LastEditTime: 2022-10-24 14:54:11
 * @Description:
 * @FilePath: \shop-admin\src\store\index.ts
 */

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { piniaResetPlugin } from '@/store/plugins/piniaResetPlugin'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
//注册reset方法
pinia.use(piniaResetPlugin())

export default pinia
